package com.cv.system.api.logger;

import com.cv.system.api.logger.dto.OperateLogCreateReqDTO;
import com.cv.system.service.logger.SystemOperateLogService;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * 操作日志 API 接口实现类
 *
 * @author Charles_XDXD
 */
@Service
@DubboService
public class OperateLogApiImpl implements OperateLogApi {

    @Resource
    private SystemOperateLogService systemOperateLogService;

    @Override
    public void createOperateLog(OperateLogCreateReqDTO createReqDTO) {
        systemOperateLogService.createOperateLog(createReqDTO);
    }

}
